<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>channelExt - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goList() {
			var f = document.channelExtCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
		
	<h1>ChannelExt - edit</h1>
	
	<form:form commandName="channelExtCriteria" id="channelExtCriteriaForm" name="channelExtCriteriaForm" action="/channelExt.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="channelId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>

	<form:form commandName="channelExt" name="channelExtForm" action="/channelExtEdit.do">
	<input type="hidden" name="mode" value="edit"/>
	<form:hidden path="channelId"/>
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>channelId</th>
			<td>
				<c:out value="${channelExt.channelId}"/>
			</td>
		</tr>
		<tr>
			<th>channelName</th>
			<td>
				<form:input path="channelName"/>
				<form:errors path="channelName" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>finalStep</th>
			<td>
				<form:input path="finalStep"/>
				<form:errors path="finalStep" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>afterCheck</th>
			<td>
				<form:input path="afterCheck"/>
				<form:errors path="afterCheck" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isStaticChannel</th>
			<td>
				<form:input path="isStaticChannel"/>
				<form:errors path="isStaticChannel" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isStaticContent</th>
			<td>
				<form:input path="isStaticContent"/>
				<form:errors path="isStaticContent" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isAccessByDir</th>
			<td>
				<form:input path="isAccessByDir"/>
				<form:errors path="isAccessByDir" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isListChild</th>
			<td>
				<form:input path="isListChild"/>
				<form:errors path="isListChild" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>pageSize</th>
			<td>
				<form:input path="pageSize"/>
				<form:errors path="pageSize" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>channelRule</th>
			<td>
				<form:input path="channelRule"/>
				<form:errors path="channelRule" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>contentRule</th>
			<td>
				<form:input path="contentRule"/>
				<form:errors path="contentRule" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>link</th>
			<td>
				<form:input path="link"/>
				<form:errors path="link" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>tplChannel</th>
			<td>
				<form:input path="tplChannel"/>
				<form:errors path="tplChannel" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>tplContent</th>
			<td>
				<form:input path="tplContent"/>
				<form:errors path="tplContent" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>titleImg</th>
			<td>
				<form:input path="titleImg"/>
				<form:errors path="titleImg" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>contentImg</th>
			<td>
				<form:input path="contentImg"/>
				<form:errors path="contentImg" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>hasTitleImg</th>
			<td>
				<form:input path="hasTitleImg"/>
				<form:errors path="hasTitleImg" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>hasContentImg</th>
			<td>
				<form:input path="hasContentImg"/>
				<form:errors path="hasContentImg" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>titleImgWidth</th>
			<td>
				<form:input path="titleImgWidth"/>
				<form:errors path="titleImgWidth" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>titleImgHeight</th>
			<td>
				<form:input path="titleImgHeight"/>
				<form:errors path="titleImgHeight" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>contentImgWidth</th>
			<td>
				<form:input path="contentImgWidth"/>
				<form:errors path="contentImgWidth" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>contentImgHeight</th>
			<td>
				<form:input path="contentImgHeight"/>
				<form:errors path="contentImgHeight" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>commentControl</th>
			<td>
				<form:input path="commentControl"/>
				<form:errors path="commentControl" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>allowUpdown</th>
			<td>
				<form:input path="allowUpdown"/>
				<form:errors path="allowUpdown" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>isBlank</th>
			<td>
				<form:input path="isBlank"/>
				<form:errors path="isBlank" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>title</th>
			<td>
				<form:input path="title"/>
				<form:errors path="title" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>keywords</th>
			<td>
				<form:input path="keywords"/>
				<form:errors path="keywords" cssClass="errorMessage"/>
			</td>
		</tr>
		<tr>
			<th>description</th>
			<td>
				<form:input path="description"/>
				<form:errors path="description" cssClass="errorMessage"/>
			</td>
		</tr>
	</table>
	<input type="submit" value="edit"/>
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
